export function weixinPay(data) {
	return new Promise((resolve, reject) => {
	  uni.requestPayment({
	  	provider: 'wxpay',
	  	timeStamp: data.timeStamp,
	  	nonceStr: data.nonceStr,
	  	package: data.packageValue,
	  	signType: data.signType,
	  	paySign: data.paySign,
	  	success: function(res) {
	  		resolve(res)
	  	},
		fail:function(){
			uni.$u.toast('支付取消')
			uni.hideLoading()
		}
	  });
	})
}